package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.OptBasicBean;

/**
* 描述：获取期权合约信息
* @author: codesmith
**/
@Data
@TableName("opt_basic")
public class OptBasicEntity implements OptBasicBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`exchange`") protected String exchange;

    @TableField("`name`") protected String name;

    @TableField("`per_unit`") protected String perUnit;

    @TableField("`opt_code`") protected String optCode;

    @TableField("`opt_type`") protected String optType;

    @TableField("`call_put`") protected String callPut;

    @TableField("`exercise_type`") protected String exerciseType;

    @TableField("`exercise_price`") protected Double exercisePrice;

    @TableField("`s_month`") protected String sMonth;

    @TableField("`maturity_date`") protected LocalDate maturityDate;

    @TableField("`list_price`") protected Double listPrice;

    @TableField("`list_date`") protected LocalDate listDate;

    @TableField("`delist_date`") protected LocalDate delistDate;

    @TableField("`last_edate`") protected String lastEdate;

    @TableField("`last_ddate`") protected String lastDdate;

    @TableField("`quote_unit`") protected String quoteUnit;

    @TableField("`min_price_chg`") protected String minPriceChg;
}